package com.love.cloud.admin.service;

import com.love.cloud.admin.api.vo.DingTalkDeptInfoVo;
import com.love.cloud.admin.api.vo.DingTalkUserInfoVo;
import com.love.cloud.admin.api.vo.DingTalkUserTreeVo;
import com.love.cloud.admin.dto.DingTalkUserTreeDto;
import com.love.cloud.admin.dto.EmployeeSearchOrgDto;

import java.util.List;

/**
 * @author hongdongqu
 */
public interface DingTalkUserTreeService {
    /**
     * 获取
     * @return
     */
    DingTalkUserTreeDto getDeptAndUserInfo(DingTalkUserTreeVo dingTalkUserTreeVo);

    /**
     * 获取到用户信息
     * @return
     */
    List<EmployeeSearchOrgDto> getUserInfo(DingTalkUserInfoVo dingTalkUserInfoVo);

    /**
     * 获取到部门信息
     * @param dingTalkDeptInfoVo
     * @return
     */
    Object searchDingTalkDeptInfo(DingTalkDeptInfoVo dingTalkDeptInfoVo);

    /**
     * 根据组织Code查询组织汇报线
     * @param organizationCode
     * @return
     */
    Object getOrganizationLine(String organizationCode);

}
